#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2024/6/30 12:21
# @Author : 闫峰
# @File    : urls.py
from flask import Blueprint

from flask_service.cgvmagent.views.views import

"""
cgvmagent api路由配置
"""
cgvmagent_bp = Blueprint('cgvmagent', __name__)

cgvmagent_bp.add_url_rule('/v1/cgagent/game/startGame',
                        view_func=start_game,
                        methods=['POST','PUT','DELETE','GET'])
cgvmagent_bp.add_url_rule('/v1/cgagent/game/endGame',
                        view_func=end_game,
                        methods=['POST','PUT','DELETE','GET'])

cgvmagent_bp.add_url_rule('/v1/archive/migrate',
                        view_func=archive_migrate,
                        methods=['POST','PUT','DELETE','GET'])